package com.mac.cxcybackground.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mac.cxcybackground.bean.Depts;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DeptsMapper extends BaseMapper<Depts> {
    @Select("select dName,dId from depts")
    List<Depts> findCommun();
}
